package com.sky.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 贾晓晨
 * @version 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BackstageTagVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("tagId")
    private int categoryId;
    @ApiModelProperty("tag名字")
    private String categoryName;
    @ApiModelProperty("tag关联的文章标题")
    private List<TagLinkVO> tagLinkTitle;

    private String createTime;

    private String updateTime;
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class TagLinkVO implements Serializable {
        private static final long serialVersionUID = 1L;
        private Integer articleId;
        private String title;
    }

}
